package com.forestar.mapControl.utils.mapConvert.geometry.utils;

import com.mapzone.api.geometry.mzHitInfo;

/**
 * Created by YSJ on 2017/7/28.
 */

public class HitInfo
  {
    private mzHitInfo m_mzHitInfo;

    public HitInfo(mzHitInfo hitInfo)
      {
        this.m_mzHitInfo = hitInfo;
      }

    public boolean isAtPoint()
      {
        return m_mzHitInfo.IsAtPoint();
      }

    public int getPointIndex()
      {
        return m_mzHitInfo.GetPointIndex();
      }

    public int getPathIndex()
      {
        return m_mzHitInfo.GetPathIndex();
      }

    public int getPolygonIndex()
      {
        return m_mzHitInfo.GetPolygonIndex();
      }

  }
